﻿using System;
using System.Collections.Generic;
using System.Text;

namespace LDCBAM
{
    public class ModelFunctions
    {
        /*+++++++++++++++++++++++++++++++++++++++++++++++++++++++
+														+
+					公用函数定义						+
+														+
+++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
        /// <summary>
        /// 计算坡面流速	
        /// </summary>
        /// <param name="dUnitQ"></param>
        /// <param name="slp"></param>
        /// <param name="manning_n"></param>
        /// <returns></returns>
      public   double HillSideQVelocity(double dUnitQ, double slp, double manning_n)
        {
            double dVflow = Math.Pow(dUnitQ, 0.4) *Math.Pow(slp, 0.3) /Math.Pow(manning_n, 0.6);
            return dVflow;
        }
        /// <summary>
        /// 计算河道流速
        /// </summary>
        /// <param name="dUnitQ"></param>
        /// <param name="slp"></param>
        /// <param name="manning_n"></param>
        /// <returns></returns>
        double ChannelQVelocity(double dUnitQ, double slp, double manning_n)
        {
            return 0;
        }
    }
}
